package com.mangu.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.mangu.entity.ComicChapterEntity;

public interface TemplateDao<E>{
	void insert(ComicChapterEntity e)throws SQLException;
	void update(@Param("id")String id,@Param("e") Map<String,Object> map)throws SQLException;
	void delete(String id)throws SQLException;
	E select(@Param("column") String column,@Param("value")Object value)throws SQLException;
	List<E> selectAll(String orderBy)throws SQLException;
}
